package com.bingxue.edu.management.education.model.query;

import com.bingxue.edu.common.enums.ClassCategoryEnum;
import com.bingxue.edu.common.enums.TermEnum;
import com.bingxue.edu.management.education.model.entity.ClassInfo;
import com.mybatisflex.annotation.TableRef;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(description = "班级列表查询条件")
@TableRef(ClassInfo.class)
public class ClassPrevListQuery {

    @Schema(description = "教学年份")
    @NotNull(message = "教学年份不能为空")
    private Integer classYear;

    @Schema(description = "学期")
    @NotNull(message = "学期不能为空")
    private TermEnum term;

    @Schema(description = "年级")
    @NotNull(message = "年级不能为空")
    private String grade;

    @Schema(description = "科目")
    @NotNull(message = "科目不能为空")
    private String subject;

    @Schema(description = "班级分类")
    @NotNull(message = "班级分类不能为空")
    private ClassCategoryEnum classCategory;

}
